package scheme

Import Path
	github.com/K-Phoen/grabana/scheme (on go.dev)

Dependency Relation
	imports one package, and imported by 3 packages

Involved Source Files scheme.go
Package-Level Type Names (total 4)
/* sort by: | */
func BluePurple(colorBy ColorMode) Option func BlueYellowRed(colorBy ColorMode) Option func GreenYellowRed(colorBy ColorMode) Option func RedYellowGreen(colorBy ColorMode) Option func ThresholdsValue(colorBy ColorMode) Option func YellowBlue(colorBy ColorMode) Option func YellowRed(colorBy ColorMode) Option const Last const Max const Min
Option represents an option that can be used to configure an axis. func BluePurple(colorBy ColorMode) Option func BlueYellowRed(colorBy ColorMode) Option func ClassicPalette() Option func GreenYellowRed(colorBy ColorMode) Option func RedYellowGreen(colorBy ColorMode) Option func SingleColor(color string) Option func ThresholdsValue(colorBy ColorMode) Option func YellowBlue(colorBy ColorMode) Option func YellowRed(colorBy ColorMode) Option func New(fieldConfig *sdk.FieldConfig, options ...Option) *Scheme func github.com/K-Phoen/grabana/gauge.ColorScheme(options ...Option) gauge.Option func github.com/K-Phoen/grabana/stat.ColorScheme(options ...Option) stat.Option func github.com/K-Phoen/grabana/timeseries.ColorScheme(options ...Option) timeseries.Option
Scheme represents a color scheme. func New(fieldConfig *sdk.FieldConfig, options ...Option) *Scheme
Color string Value int
Package-Level Functions (total 10)
BluePurple uses the blue-purple color scheme.
BlueYellowRed uses the blue-yellow-red color scheme.
ClassicPalette uses the classic palette color scheme.
GreenYellowRed uses the green-yellow-red color scheme.
New creates a new Scheme configuration.
RedYellowGreen uses the red-yellow-green color scheme.
SingleColor defines the color scheme with a single color.
ThresholdsValue uses the thresholds colors.
YellowBlue uses the yellow-blue color scheme.
YellowRed uses the yellow-red color scheme.
Package-Level Constants (total 3)
const Last ColorMode = "last"
const Max ColorMode = "max"
const Min ColorMode = "min"